<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2010-11-23
  Time: 21:58:56
  To change this template use File | Settings | File Templates.
--%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>new_sort</title>
<link rel="stylesheet" type="text/css" href="../resource/css/screen.css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/resource/js/jquery-1.4.2.js"></script>
</head>

<body>
    <div class="wrap">
         <div class="header">
              <div class="logo">
                 <a href="#"><img alt="logo" src="../resource/images/brand.gif" /></a>
              </div>
              <p class="upload_link"><a id="pic_type" href="/shuzi/sz/bgPictureType.action">图片类型管理 </a>  <a id="pic_upload" href="/shuzi/sz/initialUploadPicture.action">图片上传</a></p>
         </div>

         <div class="content">
               <img src="../resource/images/no_result.jpg" alt="出错">
         </div>

         <div class="pages">
         </div>

         <div class="footer">
             <input type="hidden" name="type" value="${resultSet.type}"/>
           <span>&copy;</span><span>电子科技大学数字媒体技术研究所</span><span>All rights reserved</span>
           <span>&#124;</span><span>Powered by Dreamfly</span>
         </div>
    </div>
    <script>
    $(document).ready(function(){
    	var now_type=$("input[name=type]").val();
   		switch(now_type){
   			case 'Picture':
   				break
   			case 'Video':
   				changUpload('Video','视频上传');
   				break
   			case 'Audio':
   				changUpload('Audio','音频上传');
   				break
   			case 'Model':
   				changUpload('Model','模型上传');
   				break
   			case 'Activity':
   				changUpload('Activity','动作库上传');
   				break
   		}
   		function changUpload(type,type_ch){
   			var pic_type=$("#pic_type");   			
   			var pic_upload=$("#pic_upload");
   			pic_type.css('display','none');
   			pic_upload.text(type_ch);
   			pic_upload.attr('href','/shuzi/sz/initialUpload'+type+'.action');
   		}
    });
    </script>
</body>
</html>
